from pydantic import BaseModel, Field
from typing import Optional


class ModelResponse(BaseModel):
    model_id: int
    model_name: str
    display_name: str
    description: str
    is_active: bool
    model_type: Optional[str] = Field(None, description="模型类型: chat/embedding")


